package com.xiaoshuidi.cloud.module.member.controller.admin.securitycheck.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 安全检查 Excel 导出 Request VO，参数和 SecurityCheckPageReqVO 是一致的")
@Data
public class SecurityCheckExportReqVO {

    @Schema(description = "安全检查项目ID")
    private Long securityCheckProgramId;

    @Schema(description = "检察员")
    private String inspectorate;

    @Schema(description = "检查类型")
    private Byte securityCheckType;

    @Schema(description = "隐患等级")
    private Byte pitfallLevel;

    @Schema(description = "检查时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] checkDate;

    @Schema(description = "是否需要整改")
    private Boolean isNeedRectification;

    @Schema(description = "现场检查照片")
    private String checkPhoto;

    @Schema(description = "是否归档")
    private Boolean isPlaceOnFile;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
